export const bomColumns = [
    { label: '物料编码', prop: 'materialNo', defaultChecked: true, hide: true },
    { label: '物料名称', prop: 'materialName', defaultChecked: true, hide: true },
    { label: '产品图号', prop: 'innerDrawingNo', defaultChecked: true, hide: true },
    { label: '物料组', prop: 'materialGroupNo', defaultChecked: true, hide: true },
    { label: '规格', prop: 'specifications', defaultChecked: true, hide: true },
    { label: '型号', prop: 'model', defaultChecked: true, hide: true },
    { label: '定额', prop: 'quota', defaultChecked: true, hide: true },
    { label: '计量单位', prop: 'unit', defaultChecked: true, hide: true },
    { label: '损耗率', prop: 'lossRate', defaultChecked: true, hide: true }
    // { label: 'BOM审批人', prop: 'approver', hide: true },
    // { label: '审核时间', prop: 'auditDatetime', hide: true },
    // { label: '审核状态', prop: 'auditStatus', hide: true },
    // { label: 'BOM版本号', prop: 'version', hide: true },
];

export const craftColumns = [
    { label: '工艺', prop: 'craftType', defaultChecked: true, hide: true },
    { label: '工序名称', prop: 'procedureId', defaultChecked: true, hide: true },
    { label: '生产车间', prop: 'produceShopId', defaultChecked: true, hide: true },
    { label: '生产线', prop: 'produceLineId', defaultChecked: true, hide: true },
    { label: '生产班组', prop: 'groupIds', defaultChecked: true, hide: true },
    { label: '生产节拍', prop: 'produceBeat', defaultChecked: true, hide: true },
    { label: '设备清单', prop: 'prdList', defaultChecked: true, hide: true },
    { label: '模具清单', prop: 'mouldNoList', defaultChecked: true, hide: true },
    { label: '检具清单', prop: 'prdProcedureFixtureList', defaultChecked: true, hide: true }
];
export const purchaseColumns = [
    { label: '物料类型', prop: 'materialFlagType', defaultChecked: true, hide: true, },
    { label: '物料组', prop: 'materialGroupNo', defaultChecked: true, hide: true },
    // { label: '物料', prop: 'addMaterialNo', hide: true, },
    { label: '物料编码', prop: 'materialNo', defaultChecked: true, hide: true, },
    { label: '物料名称', prop: 'materialName', defaultChecked: true, hide: true, },
    { label: '规格', prop: 'specifications', defaultChecked: true, hide: true, },
    { label: '型号', prop: 'model', defaultChecked: true, hide: true },
    { label: '采购数量', prop: 'purchaseNum', defaultChecked: true, hide: true, },
    { label: '计划到货日期', prop: 'planArrivalDate', hide: true, },
    { label: '实际到货日期', prop: 'actualArrivalDate', hide: true },
    { label: '实际数量', prop: 'actualNum', hide: true, },
]
export const flowColumns = [
    { label: '步骤序号', prop: 'stepNo', defaultChecked: true, hide: true, },
    { label: '过程', prop: 'processIcon', defaultChecked: true, hide: true, },
    { label: '工序名称', prop: 'procedureId', defaultChecked: true, hide: true, },
    { label: '产品特性', prop: 'productFeature', defaultChecked: true, hide: true, },
    { label: '过程特性', prop: 'procedureFeature', defaultChecked: true, hide: true, },
    { label: '报工方式', prop: 'reportType', defaultChecked: true, hide: true, },
    { label: '报工件类别', prop: 'reportArtifactsType', defaultChecked: true, hide: true, },
    { label: '工序产品', prop: 'reportArtifacts', defaultChecked: true, hide: true, },
    { label: '标箱数量', prop: 'boxCounts', defaultChecked: true, hide: true, },
    { label: '定额', prop: 'quota', defaultChecked: true, hide: true, },
]
export const pfmeaAllColumns = [
    { label: '产品名称', prop: 'productId', defaultChecked: true, hide: true },
    { label: '产品阶段', prop: 'stage', defaultChecked: true, hide: true },
    { label: '编号', prop: 'fmeaPlanNo', defaultChecked: true, hide: true },
    { label: '产品图号', prop: 'innerDrawingNo', defaultChecked: true, hide: true },
    // { label: '产品编号', prop: 'materialNo', defaultChecked: true, hide: true },
    { label: '关键日期', prop: 'validDate', defaultChecked: true, hide: true },
    { label: '编制', prop: 'chargeId', defaultChecked: true, hide: true },
    { label: '批准', prop: 'coreGroupDeps', defaultChecked: true, hide: true },
    { label: '创建日期', prop: 'createDate', defaultChecked: true, hide: true },
    { label: '最后修订日期', prop: 'finalUpdateDate', defaultChecked: true, hide: true },
    { label: '责任部门', prop: 'coreGroupDeps', defaultChecked: true, hide: true },
    { label: '核心小组', prop: 'coreGroup', defaultChecked: true, hide: true },
    { label: '步骤序号', prop: 'processNo', defaultChecked: true, hide: true },
    { label: '工序名称', prop: 'processName', defaultChecked: true, hide: true },
    { label: '特殊特性', prop: 'productFeature', defaultChecked: true, hide: true },
    { label: '潜在失效模式', prop: 'mode', defaultChecked: true, hide: true },
    { label: '潜在失效后果', prop: 'result', defaultChecked: true, hide: true },
    { label: 'S', prop: 'severity', defaultChecked: true, hide: true, },
    { label: '分类', prop: 'quaTypeName', defaultChecked: true, hide: true },
    { label: '潜在失效原因/机理', prop: 'reason', defaultChecked: true, hide: true },
    { label: 'O', prop: 'frequency', defaultChecked: true, width: 40, hide: true },
    { label: '现行预防过程控制', prop: 'prevent', defaultChecked: true, hide: true },
    { label: '现行探测过程控制', prop: 'detectProcessControl', defaultChecked: true, hide: true },
    { label: 'D', prop: 'detection', defaultChecked: true, width: 40, hide: true },
    { label: 'RPN', prop: 'rpn', defaultChecked: true, width: 50, hide: true },
    { label: '推荐措施', prop: 'measures', defaultChecked: true, hide: true },
]
export const controlColumns = [
    { label: '产品名称', prop: 'productId', defaultChecked: true, hide: true },
    { label: '产品阶段', prop: 'stage', defaultChecked: true, hide: true },
    { label: '编号', prop: 'controlPlanNo', defaultChecked: true, hide: true },
    { label: '主要联系人', prop: 'chargeId', defaultChecked: true, hide: true },
    { label: '产品图号', prop: 'innerDrawingNo', defaultChecked: true, hide: true },
    { label: '编制日期', prop: 'createDate', defaultChecked: true, hide: true },
    { label: "最后修订日期", prop: 'lastUpdateDate', defaultChecked: true, hide: true },
    // { label: '产品编号', prop: 'materialNo', defaultChecked: true, hide: true },
    { label: '核心小组', prop: 'coreGroup', defaultChecked: true, hide: true },
    { label: 'PFMEA编号', prop: 'fmeaPlanNo', defaultChecked: true, hide: true },
    { label: '步骤序号', prop: 'processNo', defaultChecked: true, hide: true },
    { label: '工序名称', prop: 'processName', defaultChecked: true, hide: true },
    { label: '生产设备', prop: 'equipmentName', defaultChecked: true, hide: true },
    {
        label: '特性',
        defaultChecked: true,
        hide: true,
        children: [
            {
                label: '产品',
                prop: 'productFeature',
                defaultChecked: true,
            },
            {
                label: '过程',
                prop: 'procedureFeature',
                defaultChecked: true,
            },
        ],
    },
    { label: '特殊特性分类', prop: 'quaType', defaultChecked: true, hide: true },
    {
        label: '方法',
        align: 'center',
        defaultChecked: true,
        hide: true,
        children: [
            {
                label: '规范/公差',
                prop: 'standard',
                defaultChecked: true,
            },
            {
                label: '测量技术',
                prop: 'checkToolName',
                defaultChecked: true,
            },
            {
                label: '样品',
                align: 'center',
                children: [
                    {
                        label: '容量',
                        prop: 'capacity',
                        defaultChecked: true,
                    },
                    {
                        label: '频率',
                        prop: 'frequency',
                        defaultChecked: true,
                    },
                ],
            },
            {
                label: '控制方法',
                prop: 'method',
                defaultChecked: true,
            },
        ],
    },
    { label: '反应计划', prop: 'responsePlan', defaultChecked: true, hide: true },
    { label: '批准日期', prop: 'gfApprovalDate', defaultChecked: true, hide: true },
]
// 作业指导书-过程检验
export const workTestAllColumns = [
    { label: "产品名称", prop: 'productName', defaultChecked: true, hide: true },
    { label: "编号", prop: 'instructionsNo', defaultChecked: true, hide: true },
    { label: "客户名称", prop: 'customerName', defaultChecked: true, hide: true },
    { label: "客户图号", prop: 'customerDrawingNo', defaultChecked: true, hide: true },
    { label: "工序名称", prop: 'procedureName', defaultChecked: true, hide: true },
    { label: "车间", prop: 'shopName', defaultChecked: true, hide: true },
    { label: "最后修订日期", prop: 'lastUpdateDate', defaultChecked: true, hide: true },
    { label: "版次", prop: 'version', defaultChecked: true, hide: true },
    { label: "设备/工装名称", prop: 'equipmentName', defaultChecked: true, hide: true },
    { label: "设备/工装编码", prop: 'equipmentNo', defaultChecked: true, hide: true },
    { label: "原辅材料", prop: 'materialName', defaultChecked: true, hide: true },
    { label: "规格型号", prop: 'specificationsModel', defaultChecked: true, hide: true },
    { label: "定额", prop: 'quota', defaultChecked: true, hide: true },
    { label: "工件来源", prop: 'artifactCome', defaultChecked: true, hide: true },
    { label: "工件去处", prop: 'artifactOut', defaultChecked: true, hide: true },
    { label: "检验项目", prop: 'testItems', defaultChecked: true, hide: true },
    { label: "特性等级", prop: 'specialGrade', defaultChecked: true, hide: true },
    { label: "检验频率", prop: 'testFrequency', defaultChecked: true, hide: true },
    { label: "使用量具", prop: 'useMeasuringTool', defaultChecked: true, hide: true },
    { label: "控制方法", prop: 'controlMethod', defaultChecked: true, hide: true },
    { label: "异常处理", prop: 'exceptionHandling', defaultChecked: true, hide: true },
]
export const workTestColumns = [
    { label: "检验项目", prop: 'testItems', hide: true },
    { label: "特性等级", prop: 'specialGrade', hide: true },
    { label: "检验频率", prop: 'testFrequency', hide: true },
    { label: "使用量具", prop: 'useMeasuringTool', hide: true },
    { label: "控制方法", prop: 'controlMethod', hide: true },
    { label: "异常处理", prop: 'exceptionHandling', hide: true },
]
// 作业指导书-作业步骤
export const workAllColumns = [
    { label: "产品名称", prop: 'productName', defaultChecked: true, hide: true },
    { label: "编号", prop: 'instructionsNo', defaultChecked: true, hide: true },
    { label: "客户名称", prop: 'customerName', defaultChecked: true, hide: true },
    { label: "客户图号", prop: 'customerDrawingNo', defaultChecked: true, hide: true },
    { label: "工序名称", prop: 'procedureName', defaultChecked: true, hide: true },
    { label: "车间", prop: 'shopName', defaultChecked: true, hide: true },
    { label: "最后修订日期", prop: 'lastUpdateDate', defaultChecked: true, hide: true },
    { label: "版次", prop: 'version', defaultChecked: true, hide: true },
    { label: "设备/工装名称", prop: 'equipmentName', defaultChecked: true, hide: true },
    { label: "设备/工装编码", prop: 'equipmentNo', defaultChecked: true, hide: true },
    { label: "原辅材料", prop: 'materialName', defaultChecked: true, hide: true },
    { label: "规格型号", prop: 'specificationsModel', defaultChecked: true, hide: true },
    { label: "定额", prop: 'quota', defaultChecked: true, hide: true },
    { label: "工件来源", prop: 'artifactCome', defaultChecked: true, hide: true },
    { label: "工件去处", prop: 'artifactOut', defaultChecked: true, hide: true },
    { label: "作业步骤", prop: 'jobStep', defaultChecked: true, hide: true },
    { label: "操作说明", prop: 'OI', defaultChecked: true, hide: true },
    { label: "注意事项", prop: 'attention', defaultChecked: true, hide: true },
]
export const workColumns = [
    { label: "作业步骤", prop: 'jobStep', hide: true },
    { label: "操作说明", prop: 'OI', hide: true },
    { label: "注意事项", prop: 'attention', hide: true },
]

// 产品生产制造计划
export const productionPlanColumns = [
    { label: '编号', prop: 'planNo', defaultChecked: true, hide: true },
    { label: '计划负责人', prop: 'chargerNo', defaultChecked: true, hide: true },
    { label: '计划状态', prop: 'status', defaultChecked: true, hide: true },
    { label: '项目名称', prop: 'projectName', defaultChecked: true, hide: true },
    { label: '产品名称', prop: 'productName', defaultChecked: true, hide: true },
    { label: '产品图号', prop: 'productDrawingNo', defaultChecked: true, hide: true },
    { label: '计划起止日期', prop: 'planStartEndDate', defaultChecked: true, hide: true },
    { label: '实际起止日期', prop: 'actualStartEndDate', defaultChecked: true, hide: true },
    { label: '提交物', prop: 'deliverable', defaultChecked: true, hide: true },
    { label: '审批人', prop: 'approver', defaultChecked: true, hide: true },
    { label: '审批日期', prop: 'approveDate', defaultChecked: true, hide: true },
    // { label: '产品名称', prop: 'materialName', defaultChecked: true, hide: true },
    // { label: '产品编码', prop: 'materialNo', defaultChecked: true, hide: true },
    // { label: '产品图号', prop: 'productDrawingNo', defaultChecked: true, hide: true },
    { label: '规格', prop: 'specifications', defaultChecked: true, hide: true },
    { label: '型号', prop: 'model', defaultChecked: true, hide: true },
    { label: '制造数量', prop: 'purchaseNum', defaultChecked: true, hide: true },
    { label: '计划开始日期', prop: 'planStartDate', defaultChecked: true, hide: true },
    { label: '计划结束日期', prop: 'planEndDate', defaultChecked: true, hide: true },
    { label: '实际开始日期', prop: 'actualStartDate', defaultChecked: true, hide: true },
    { label: '实际结束日期', prop: 'actualEndDate', defaultChecked: true, hide: true },
    { label: '首次交样日期', prop: 'firstSampleDate', hide: true },
    // { label: '样件认可日期', prop: 'sampleApprovalDate', hide: true },
    { label: '样件认可日期', prop: 'prototypeApprovalDate', hide: true },
    { label: '提交PPAP日期', prop: 'commitPpapDate', hide: true },
    { label: 'PPAP认可日期', prop: 'ppapApprovalDate', hide: true },
    { label: '计划发货周期', prop: 'planDeliverCycle', hide: true },
    { label: '实际发货周期', prop: 'actualDeliverCycle', hide: true },
]
// 设备生产制造计划
export const equipmentPlanColumns = [
    { label: '编号', prop: 'planNo', defaultChecked: true, hide: true },
    { label: '计划负责人', prop: 'chargerNo', defaultChecked: true, hide: true },
    { label: '计划状态', prop: 'status', defaultChecked: true, hide: true },
    { label: '项目名称', prop: 'projectName', defaultChecked: true, hide: true },
    { label: '产品名称', prop: 'productName', defaultChecked: true, hide: true },
    { label: '产品图号', prop: 'productDrawingNo', defaultChecked: true, hide: true },
    { label: '计划起止日期', prop: 'planStartEndDate', defaultChecked: true, hide: true },
    { label: '实际起止日期', prop: 'actualStartEndDate', defaultChecked: true, hide: true },
    { label: '提交物', prop: 'deliverable', defaultChecked: true, hide: true },
    { label: '审批人', prop: 'approver', defaultChecked: true, hide: true },
    { label: '审批日期', prop: 'approveDate', defaultChecked: true, hide: true },
    // { label: '名称', prop: 'materialName', defaultChecked: true, hide: true },
    // { label: '编码', prop: 'materialNo', defaultChecked: true, hide: true },
    { label: '规格', prop: 'specifications', defaultChecked: true, hide: true },
    { label: '型号', prop: 'model', defaultChecked: true, hide: true },
    { label: '制造数量', prop: 'purchaseNum', defaultChecked: true, hide: true },
    { label: '计划开始日期', prop: 'planStartDate', defaultChecked: true, hide: true },
    { label: '计划结束日期', prop: 'planEndDate', defaultChecked: true, hide: true },
    { label: '实际开始日期', prop: 'actualStartDate', defaultChecked: true, hide: true },
    { label: '实际结束日期', prop: 'actualEndDate', defaultChecked: true, hide: true },
    { label: '客户财产（标识）', prop: 'isCustomProp', hide: true },
    { label: '模具试模日期', prop: 'mouldTryoutDate', hide: true },
    { label: '模具验收日期', prop: 'mouldCheckDat', hide: true },
]
// 物流计划
export const logisticsPlanColumns = [
    { label: '编号', prop: 'planNo', defaultChecked: true, hide: true },
    { label: '计划负责人', prop: 'chargerNo', defaultChecked: true, hide: true },
    { label: '计划状态', prop: 'status', defaultChecked: true, hide: true },
    { label: '项目名称', prop: 'projectName', defaultChecked: true, hide: true },
    { label: '产品名称', prop: 'productName', defaultChecked: true, hide: true },
    { label: '产品图号', prop: 'productDrawingNo', defaultChecked: true, hide: true },
    { label: '计划起止日期', prop: 'planStartEndDate', defaultChecked: true, hide: true },
    { label: '实际起止日期', prop: 'actualStartEndDate', defaultChecked: true, hide: true },
    { label: '提交物', prop: 'deliverable', defaultChecked: true, hide: true },
    { label: '审批人', prop: 'approver', defaultChecked: true, hide: true },
    { label: '审批日期', prop: 'approveDate', defaultChecked: true, hide: true },
    { label: '客户名称', prop: 'customerName', defaultChecked: true, hide: true },
    { label: 'PO订单号', prop: 'jobOrder', defaultChecked: true, hide: true },
    { label: '订购数量', prop: 'num', defaultChecked: true, hide: true },
    { label: '要求到货日期', prop: 'planDeliveryDate', defaultChecked: true, hide: true },
    { label: '实际到货日期', prop: 'actualDeliveryDate', hide: true },
    { label: '包装规范', prop: 'packagingRules', defaultChecked: true, hide: true },
    { label: '运输要求', prop: 'shipClaim', defaultChecked: true, hide: true },
    { label: '标识码要求', prop: 'markClaim', defaultChecked: true, hide: true },
    { label: '质量检验', prop: 'qualityTest', defaultChecked: true, hide: true },
]
// 人员配置计划
export const staffDefaultColumns = [
    { label: '编号', prop: 'planNo', defaultChecked: true, hide: true },
    { label: '计划负责人', prop: 'chargerNo', defaultChecked: true, hide: true },
    { label: '计划状态', prop: 'status', defaultChecked: true, hide: true },
    { label: '项目名称', prop: 'projectName', defaultChecked: true, hide: true },
    { label: '产品名称', prop: 'productName', defaultChecked: true, hide: true },
    { label: '产品图号', prop: 'productDrawingNo', defaultChecked: true, hide: true },
    { label: '计划起止日期', prop: 'planStartEndDate', defaultChecked: true, hide: true },
    { label: '实际起止日期', prop: 'actualStartEndDate', defaultChecked: true, hide: true },
    { label: '提交物', prop: 'deliverable', defaultChecked: true, hide: true },
    { label: '工序名称', prop: 'procedureId', defaultChecked: true, hide: true },
    { label: '人数(单班)', prop: 'procedureNum', defaultChecked: true, hide: true },
    { label: '计划班次', prop: 'planClasses', defaultChecked: true, hide: true },
    { label: 'OTS人数', prop: 'otsNum', defaultChecked: true, hide: true },
    { label: '小批', prop: 'tpNum', defaultChecked: true, hide: true },
    { label: '量产', prop: 'amountNum', defaultChecked: true, hide: true },
    { label: '需新增人员数', prop: 'addNum', defaultChecked: true, hide: true },
    { label: '人员基本能力要求', prop: 'requirements', defaultChecked: true, hide: true },
    { label: '审批人', prop: 'approver', defaultChecked: true, hide: true },
    { label: '审批日期', prop: 'approveDate', defaultChecked: true, hide: true },
]
export const staffPlanColumns = [
    { label: '工序名称', prop: 'procedureId', defaultChecked: true, hide: true },
    { label: '人数(单班)', prop: 'procedureNum', defaultChecked: true, hide: true },
    { label: '计划班次', prop: 'planClasses', defaultChecked: true, hide: true },
    {
        label: '阶段人员总数', align: 'center',
        children: [
            {
                label: 'OTS人数',
                prop: 'otsNum',
                defaultChecked: true,
            },
            {
                label: '小批',
                prop: 'tpNum',
                defaultChecked: true,
            },
            {
                label: '量产',
                prop: 'amountNum',
                defaultChecked: true,
            },
        ],
    },
    { label: '需新增人员数', prop: 'addNum', defaultChecked: true, hide: true },
    { label: '人员基本能力要求', prop: 'requirements', defaultChecked: true, hide: true },
]
// 外协计划
export const outsourcePlanColumns = [
    { label: '编号', prop: 'planNo', defaultChecked: true, hide: true, },
    { label: '计划负责人', prop: 'chargerNo', defaultChecked: true, hide: true, },
    { label: '计划状态', prop: 'status', defaultChecked: true, hide: true, },
    { label: '项目名称', prop: 'projectName', defaultChecked: true, hide: true },
    { label: '产品名称', prop: 'productName', defaultChecked: true, hide: true },
    { label: '产品图号', prop: 'productDrawingNo', defaultChecked: true, hide: true },
    { label: '计划起止日期', prop: 'planStartEndDate', defaultChecked: true, hide: true },
    { label: '实际起止日期', prop: 'actualStartEndDate', defaultChecked: true, hide: true },
    { label: '提交物', prop: 'deliverable', defaultChecked: true, hide: true },
    { label: '审批人', prop: 'approver', defaultChecked: true, hide: true, },
    { label: '审批日期', prop: 'approveDate', defaultChecked: true, hide: true, },
    { label: '外协产品名称', prop: 'materialName', defaultChecked: true, hide: true, },
    { label: '外协产品编码', prop: 'materialNo', defaultChecked: true, hide: true, },
    { label: '外协产品图号', prop: 'productDrawingNo', defaultChecked: true, hide: true, },
    { label: '外协工序名称', prop: 'procedureName', defaultChecked: true, hide: true, },
    { label: '外协内容说明', prop: 'content', defaultChecked: true, hide: true, },
    { label: '加工件数', prop: 'count', defaultChecked: true, hide: true, },
    { label: '技术要求', prop: 'requirement', defaultChecked: true, hide: true, },
    { label: '推荐供应商', defaultChecked: true, prop: 'supplier', hide: true, },
    { label: '验收日期', prop: 'acceptanceDate', defaultChecked: true, hide: true, },
    { label: '计划起止日期', prop: 'outPlanStartEndDate', defaultChecked: true, hide: true, },
    { label: '实际起止日期', prop: 'actualStartEndDate', defaultChecked: true, hide: true },
]
